package model.event;

import java.beans.PropertyChangeEvent;

import model.Statechart;
import model.util.Dimension;

public class StatechartDimensionChangeEvent extends PropertyChangeEvent {

	private static final long serialVersionUID = 5006732605572547292L;
	
	private Statechart statechart;

	public StatechartDimensionChangeEvent(Object source, String propertyName,
			Dimension oldDimension, Dimension newDimension, Statechart statechart) {
		super(source, propertyName, oldDimension, newDimension);
		this.statechart = statechart;
	}

	public Statechart getStatechart() {
		return statechart;
	}

}
